
import Layout from '@/layout'

export default {
 alwaysShow: true,
 hidden:false,
  path: '/alarm',
  component: Layout,
  name :'alarm',
  meta: {
    title: '报警管理',
    icon: 'el-icon-bell', 
    roles: [
      'alarm'
    ]
  },
  children: [
    { path: '/alarm/new', component: ()=>import('@/views/alarm/new'), name: 'alarmNew', meta: { title: '最新报警',roles: ['alarm.new_alarm'] }},
    { path: '/alarm/history', component: ()=>import('@/views/alarm/history'), name: 'alarmHistory', meta: { title: '历史报警',roles: ['alarm.history_alarm'] }},
  ]
}
